Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add type safe check when sending custom request / response types #127

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

gigajuwels
Copy link
Contributor

This PR will give end developers more visiblity when a custom request / response type is not JSON.NET serializer safe. This check is only performed once when the custom type is first used. A JsonSerializationException is thrown when a type is considered unsafe.

@gigajuwels
Copy link
Contributor Author

This also may resolve #79 partially

@gigajuwels gigajuwels mentioned this pull request Oct 4, 2023
@skibitsky skibitsky merged commit 43f5ea8 into 2.0 Oct 12, 2023
2 checks passed
@skibitsky skibitsky deleted the feat/ensure-type-is-valid branch October 12, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants